package com.hm.shopping.domain;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.hm.shopping.auto.su.BaseDomain;
import com.hm.shopping.auto.su.R;
import com.hm.shopping.def.AdvertisingLocationEnum;

import lombok.Getter;
import lombok.Setter;

/**
 * @author shishun.wang
 * @date 2018年1月19日 下午3:28:06
 * @version 1.0
 * @describe 广告
 */
@Setter
@Getter
@Document(collection = R.Database.prefix + "ADVERTISING")
public class AdvertisingDomain extends BaseDomain{

	private static final long serialVersionUID = 1L;

	/**
	 * 广告标题
	 */
	@Field(value = "advertising_title")
	private String advertisingTitle;

	/**
	 * 位置
	 */
	@Field(value = "advertising_location")
	private AdvertisingLocationEnum advertisingLocation;

	/**
	 * 广告链接
	 */
	@Field(value = "link_uri")
	private String linkUri;

	/**
	 * 广告横幅
	 */
	private String banner;
}
